<template>

  <div style="width:100%; padding:10px;">

    <div class="main">
      <el-button type="primary" icon="el-icon-edit">修改</el-button>
      <el-button type="primary" icon="el-icon-s-promotion">提交</el-button>
    </div>

    <c-form title="统计区间">
      <el-row :gutter="10">
        <c-select label="年份" v-model="year" />
        <c-select label="月份" v-model="month" />
      </el-row>
    </c-form>

    <c-form title="临床用血质量控制指标 2020年5月">
      <el-row :gutter="10">
        <el-col :span="8">
          <el-card class="box-card">
            <div slot="header" class="clearfix">
              <span style="font-size:20px;">一、每千单位用血输血专业技术人员数(2020)</span>

            </div>
            <table>
              <tr>
                <td style="border:1px solid black; border-width:0 0 1px 0;">
                  输血科（血库）专职专业技术人员数
                </td>
                <td rowspan="2">= <span style="font-size:30px; font-weight:800;">12</span>
                </td>
              </tr>
              <tr>
                <td>
                  医疗机构年度用血总单位数/1000
                </td>
              </tr>
            </table>
            <br>
            <el-input v-model="input2"> <template slot="prepend">
                <div style="width:310px; ">输血科（血库）专职专业技术人员数：</div>
              </template></el-input>
            <el-input v-model="input2"> <template slot="prepend">
                <div style="width:310px; ">医疗机构年度用血总单位数：</div>
              </template></el-input>
          </el-card>
        </el-col>
        <el-col :span="8">
          <el-card class="box-card">
            <div slot="header" class="clearfix">
              <span style="font-size:20px;">二、每千单位用血输血专业技术人员数</span>

            </div>
            <table>
              <tr>
                <td style="border:1px solid black; border-width:0 0 1px 0;">
                  输血科（血库）专职专业技术人员数
                </td>
                <td rowspan="2">= <span style="font-size:30px; font-weight:800;">12</span>
                </td>
              </tr>
              <tr>
                <td>
                  医疗机构年度用血总单位数/1000
                </td>
              </tr>
            </table>
            <br>
            <el-input v-model="input2"> <template slot="prepend">
                <div style="width:310px; ">输血科（血库）专职专业技术人员数：</div>
              </template></el-input>
            <el-input v-model="input2"> <template slot="prepend">
                <div style="width:310px; ">医疗机构年度用血总单位数：</div>
              </template></el-input>
          </el-card>
        </el-col>
        <el-col :span="8">
          <el-card class="box-card">
            <div slot="header" class="clearfix">
              <span style="font-size:20px;">二、每千单位用血输血专业技术人员数</span>

            </div>
            <table>
              <tr>
                <td style="border:1px solid black; border-width:0 0 1px 0;">
                  输血科（血库）专职专业技术人员数
                </td>
                <td rowspan="2">= <span style="font-size:30px; font-weight:800;">12</span>
                </td>
              </tr>
              <tr>
                <td>
                  医疗机构年度用血总单位数/1000
                </td>
              </tr>
            </table>
            <br>
            <el-input v-model="input2"> <template slot="prepend">
                <div style="width:310px; ">输血科（血库）专职专业技术人员数：</div>
              </template></el-input>
            <el-input v-model="input2"> <template slot="prepend">
                <div style="width:310px; ">医疗机构年度用血总单位数：</div>
              </template></el-input>
          </el-card>
        </el-col>
        <el-col :span="8">
          <el-card class="box-card">
            <div slot="header" class="clearfix">
              <span style="font-size:20px;">二、每千单位用血输血专业技术人员数</span>

            </div>
            <table>
              <tr>
                <td style="border:1px solid black; border-width:0 0 1px 0;">
                  输血科（血库）专职专业技术人员数
                </td>
                <td rowspan="2">= <span style="font-size:30px; font-weight:800;">12</span>
                </td>
              </tr>
              <tr>
                <td>
                  医疗机构年度用血总单位数/1000
                </td>
              </tr>
            </table>
            <br>
            <el-input v-model="input2"> <template slot="prepend">
                <div style="width:310px; ">输血科（血库）专职专业技术人员数：</div>
              </template></el-input>
            <el-input v-model="input2"> <template slot="prepend">
                <div style="width:310px; ">医疗机构年度用血总单位数：</div>
              </template></el-input>
          </el-card>
        </el-col>
        <el-col :span="8">
          <el-card class="box-card">
            <div slot="header" class="clearfix">
              <span style="font-size:20px;">五、每千单位用血输血专业技术人员数</span>

            </div>
            <table>
              <tr>
                <td style="border:1px solid black; border-width:0 0 1px 0;">
                  输血科（血库）专职专业技术人员数
                </td>
                <td rowspan="2">= <span style="font-size:30px; font-weight:800;">12</span>
                </td>
              </tr>
              <tr>
                <td>
                  所参加的室间质评机构输血相容性检测室间质评项目总数
                </td>
              </tr>
            </table>
            <br>
            <el-input v-model="input2"> <template slot="prepend">
                <div style="width:310px; ">输血科（血库）专职专业技术人员数：</div>
              </template></el-input>
            <el-input v-model="input2"> <template slot="prepend">
                <div style="width:310px; ">所参加的室间质评机构输血相容性检测室间质评项目总数:</div>
              </template></el-input>
          </el-card>
        </el-col>
        <el-col :span="8">
          <el-card class="box-card">
            <div slot="header" class="clearfix">
              <span style="font-size:20px;">二、每千单位用血输血专业技术人员数</span>

            </div>
            <table>
              <tr>
                <td style="border:1px solid black; border-width:0 0 1px 0;">
                  输血科（血库）专职专业技术人员数
                </td>
                <td rowspan="2">= <span style="font-size:30px; font-weight:800;">12</span>
                </td>
              </tr>
              <tr>
                <td>
                  医疗机构年度用血总单位数/1000
                </td>
              </tr>
            </table>
            <br>
            <el-input v-model="input2"> <template slot="prepend">
                <div style="width:310px; ">输血科（血库）专职专业技术人员数：</div>
              </template></el-input>
            <el-input v-model="input2"> <template slot="prepend">
                <div style="width:310px; ">医疗机构年度用血总单位数：</div>
              </template></el-input>
          </el-card>
        </el-col>
        <el-col :span="8">
          <el-card class="box-card">
            <div slot="header" class="clearfix">
              <span style="font-size:20px;">二、每千单位用血输血专业技术人员数</span>

            </div>
            <table>
              <tr>
                <td style="border:1px solid black; border-width:0 0 1px 0;">
                  输血科（血库）专职专业技术人员数
                </td>
                <td rowspan="2">= <span style="font-size:30px; font-weight:800;">12</span>
                </td>
              </tr>
              <tr>
                <td>
                  医疗机构年度用血总单位数/1000
                </td>
              </tr>
            </table>
            <br>
            <el-input v-model="input2"> <template slot="prepend">
                <div style="width:310px; ">输血科（血库）专职专业技术人员数：</div>
              </template></el-input>
            <el-input v-model="input2"> <template slot="prepend">
                <div style="width:310px; ">医疗机构年度用血总单位数：</div>
              </template></el-input>
          </el-card>
        </el-col>
        <el-col :span="8">
          <el-card class="box-card">
            <div slot="header" class="clearfix">
              <span style="font-size:20px;">二、每千单位用血输血专业技术人员数</span>

            </div>
            <table>
              <tr>
                <td style="border:1px solid black; border-width:0 0 1px 0;">
                  输血科（血库）专职专业技术人员数
                </td>
                <td rowspan="2">= <span style="font-size:30px; font-weight:800;">12</span>
                </td>
              </tr>
              <tr>
                <td>
                  医疗机构年度用血总单位数/1000
                </td>
              </tr>
            </table>
            <br>
            <el-input v-model="input2"> <template slot="prepend">
                <div style="width:310px; ">输血科（血库）专职专业技术人员数：</div>
              </template></el-input>
            <el-input v-model="input2"> <template slot="prepend">
                <div style="width:310px; ">医疗机构年度用血总单位数：</div>
              </template></el-input>
          </el-card>
        </el-col>
        <el-col :span="8">
          <el-card class="box-card">
            <div slot="header" class="clearfix">
              <span style="font-size:20px;">九、每千单位用血输血专业技术人员数</span>

            </div>
            <table>
              <tr>
                <td style="border:1px solid black; border-width:0 0 1px 0;">
                  输血科（血库）专职专业技术人员数
                </td>
                <td rowspan="2">= <span style="font-size:30px; font-weight:800;">12</span>
                </td>
              </tr>
              <tr>
                <td>
                  医疗机构年度用血总单位数/1000
                </td>
              </tr>
            </table>
            <br>
            <el-input v-model="input2"> <template slot="prepend">
                <div style="width:310px; ">输血科（血库）专职专业技术人员数：</div>
              </template>
            </el-input>
            <el-input v-model="input2"> <template slot="prepend">
                <div style="width:310px; ">医疗机构年度用血总单位数：</div>
              </template></el-input>
          </el-card>
        </el-col>
        <el-col :span="8">
          <el-card class="box-card">
            <div slot="header" class="clearfix">
              <span style="font-size:20px;">十、每千单位用血输血专业技术人员数</span>

            </div>
            <table>
              <tr>
                <td style="border:1px solid black; border-width:0 0 1px 0;">
                  输血科（血库）专职专业技术人员数
                </td>
                <td rowspan="2">= <span style="font-size:30px; font-weight:800;">12</span>
                </td>
              </tr>
              <tr>
                <td>
                  医疗机构年度用血总单位数/1000
                </td>
              </tr>
            </table>
            <br>
            <el-input v-model="input2"> <template slot="prepend">
                <div style="width:310px; ">输血科（血库）专职专业技术人员数：</div>
              </template>
            </el-input>
            <el-input v-model="input2"> <template slot="prepend">
                <div style="width:310px; ">医疗机构开展的输血相容性检测项目总数: </div>
              </template></el-input>
          </el-card>
        </el-col>
      </el-row>
    </c-form>

  </div>

</template>

<script>
export default {
  name: 'NursingPrint',
  props: {
    year: {
      type: String,
      default: '2020'
    },
    month: {
      type: String,
      default: '5'
    },
    input2: {
      type: String,
      default: '199'
    }
  },
  methods: {
    //getBasMaterial(UserId)  //根据用户ID获取用户名
    getUserName() {
      return 'username'
    },

    getIsEnabled() {
      return '启用'
    },

    //getEnum("BasSex",id) //获取枚举名称
    getEnum() {
      return '未知'
    },

    //getBasMaterial("Department",id) //获取部门
    //getBasMaterial("BloodVariety",id) //获取血液品种名称
    //getBasMaterial("BloodVariety",id) //获取血液产品名称
    getBasMaterial() {
      return 'xxx'
    }
  },
  data: function() {
    return {
      item: {
        temperature: 31,
        patientABO: 'A',
        patientRhD: 'RH+',
        name: '李四',
        sex: 0,
        age: '18',
        billNo: 'APL191214002',
        hospitalNumber: '001',
        berth: 123,
        basDepartmentId: 1,
        printTime: '2019-12-14 16:19:42',
        clinicDiagnose: '123',
        creatorUserId: 2,
        applySum: 1,
        hasSum: 100,
        bloodOutSum: null
      },
      name: '血液交叉配血报告单',
      list: [
        {
          basBloodVarietyName: '血浆',
          patientRhD: 'RH+',
          bloodABO: 'A',
          applySum: 100,
          unit: 'ml'
        }
      ]
    }
  }
}
</script>
